$(function set() {
    // 发送请求校验请求头
    let res = myAjax(ipAddress()+"/auth/isExpired", {}, "get");
    let username = localStorage.getItem("Authorization");
    if (username == null || username == "" || res == "1") {
        window.location.href = '/html/login.html';
    }
})
